SSD

object SSD : ONNXModels.ObjectDetection<SSDObjectDetectionModel>

This model is a real-time neural network for object detection that detects 80 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Coco.V2014.labels method).

The model have an input with the shape is (1x3x1200x1200).

The model has 3 outputs:

  • boxes: (1x'nbox'x4)

  • labels: (1x'nbox')

  • scores: (1x'nbox')

See also

Functions

model
Link copied to clipboard
open fun model(modelHub: ModelHub): OnnxInferenceModel
pretrainedModel
Link copied to clipboard
open override fun pretrainedModel(modelHub: ModelHub): SSDObjectDetectionModel

Properties

inputShape
Link copied to clipboard
open val inputShape: LongArray?

Shape of the input accepted by this model, without batch size.

modelRelativePath
Link copied to clipboard
open override val modelRelativePath: String
preprocessor
Link copied to clipboard
open override val preprocessor: Operation<Pair<FloatArray, TensorShape>, Pair<FloatArray, TensorShape>>